home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb.new / gdb-4.0 / bfd / doc / Makefile < prev    next >
Encoding:
Makefile  |  1991-08-24  |  1.0 KB  |  57 lines

  1. .SUFFIXES: .texi .o .c .h .p .ip
  2. VPATH=..
  3. .c.texi:
  4.     scanit $< $@
  5.  
  6. .h.texi:
  7.     scanit $< $@
  8.  
  9. .c.p:
  10.     scanph $< $@
  11.  
  12. .h.p:
  13.     scanph $< $@
  14.  
  15. .c.ip:
  16.     scanph -i $< $@
  17.  
  18.  
  19. DOCFILES = syms.texi  bfd.texi  cache.texi \
  20.      format.texi  section.texi  archive.texi \
  21.      core.texi  libbfd.texi  archures.texi \
  22.      reloc.texi  opncls.texi  targets.texi \
  23.      aoutx.texi  coffcode.texi cache.texi
  24.  
  25. PROTOS = opncls.p archures.p libbfd.p \
  26.     section.p syms.p bfd.p \
  27.     archive.p reloc.p targets.p \
  28.     format.p coffcode.p core.p
  29.  
  30. IPROTOS = cache.ip libbfd.ip reloc.ip
  31.  
  32. docs: protos bfd.info bfd.dvi bfd.ps
  33.  
  34. protos: $(PROTOS) $(IPROTOS)
  35.     sed -f intobfd bfd-in.h  > bfd.h
  36.     sed -f tolibbfd libbfd-in.h  > libbfd.h
  37.     sed -f tolibcoff libcoff-in.h  > libcoff.h
  38.  
  39.  
  40.  
  41. clean:
  42.     rm -f $(PROTOS) *.p *.ip *.h bfd.?? $(DOCFILES) bfd.dvi bfd.ps *~* *# bfd.??? 
  43.  
  44. bfd.info: $(DOCFILES) bfd.texinfo
  45.     makeinfo +no-validate bfd.texinfo
  46.  
  47. bfd.dvi: $(DOCFILES) bfd.texinfo
  48.     tex bfd.texinfo
  49.     texindex bfd.??
  50.     tex bfd.texinfo
  51.  
  52. bfd.ps: bfd.dvi
  53.     dvips bfd -o
  54.     
  55. quickdoc: $(DSRC) docs
  56.     tex bfd.texinfo
  57.